<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.14"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>PxQueryHitType Struct Reference</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtreedata.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
  $(document).ready(initResizable);
/* @license-end */</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectlogo"><img alt="Logo" src="PhysXLogoBlack.png"/></td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.14 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
      <div id="nav-sync" class="sync"></div>
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(document).ready(function(){initNavTree('structPxQueryHitType.html','');});
/* @license-end */
</script>
<div id="doc-content">
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#pub-types">Public Types</a> &#124;
<a href="structPxQueryHitType-members.html">List of all members</a>  </div>
  <div class="headertitle">
<div class="title">PxQueryHitType Struct Reference<div class="ingroups"><a class="el" href="group__scenequery.html">Scenequery</a></div></div>  </div>
</div><!--header-->
<div class="contents">

<p>Classification of scene query hits (intersections).  
 <a href="structPxQueryHitType.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="PxQueryFiltering_8h_source.html">PxQueryFiltering.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-types"></a>
Public Types</h2></td></tr>
<tr class="memitem:acab1ef408184995d169330ed689b79e3"><td class="memItemLeft" align="right" valign="top">enum &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3">Enum</a> { <a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3a7e26b51ca324ac45d44d4b70203a2996">eNONE</a> = 0, 
<a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3aac7ebce08c20ff88ea4328035daa2498">eTOUCH</a> = 1, 
<a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3a60dc59a348d85c101747ed45d9b20750">eBLOCK</a> = 2
 }</td></tr>
<tr class="separator:acab1ef408184995d169330ed689b79e3"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<div class="textblock"><p>Classification of scene query hits (intersections). </p>
<ul>
<li>eNONE: Returning this hit type means that the hit should not be reported.</li>
<li>eBLOCK: For all raycast, sweep and overlap queries the nearest eBLOCK type hit will always be returned in <a class="el" href="structPxHitCallback.html#a63b2851eaf99b190fc468e00e8d1e55d" title="Holds the closest blocking hit result for the query. Invalid if hasBlock is false. ">PxHitCallback::block</a> member.</li>
<li>eTOUCH: Whenever a raycast, sweep or overlap query was called with non-zero <a class="el" href="structPxHitCallback.html#a549f6828e98c9aeaee9012defa100f74" title="Number of touching hits returned by the query. Used with PxHitBuffer. ">PxHitCallback::nbTouches</a> and <a class="el" href="structPxHitCallback.html#aa3fa478af9db3e043a540fca72a2f468" title="User specified buffer for touching hits. ">PxHitCallback::touches</a> parameters, eTOUCH type hits that are closer or same distance (touchDistance &lt;= blockDistance condition) as the globally nearest eBLOCK type hit, will be reported.</li>
<li>For example, to record all hits from a raycast query, always return eTOUCH.</li>
</ul>
<p>All hits in overlap() queries are treated as if the intersection distance were zero. This means the hits are unsorted and all eTOUCH hits are recorded by the callback even if an eBLOCK overlap hit was encountered. Even though all overlap() blocking hits have zero length, only one (arbitrary) eBLOCK overlap hit is recorded in <a class="el" href="structPxHitCallback.html#a63b2851eaf99b190fc468e00e8d1e55d" title="Holds the closest blocking hit result for the query. Invalid if hasBlock is false. ">PxHitCallback::block</a>. All overlap() eTOUCH type hits are reported (zero touchDistance &lt;= zero blockDistance condition).</p>
<p>For raycast/sweep/overlap calls with zero touch buffer or <a class="el" href="structPxHitCallback.html#a549f6828e98c9aeaee9012defa100f74" title="Number of touching hits returned by the query. Used with PxHitBuffer. ">PxHitCallback::nbTouches</a> member, only the closest hit of type eBLOCK is returned. All eTOUCH hits are discarded.</p>
<dl class="section see"><dt>See also</dt><dd><a class="el" href="classPxQueryFilterCallback.html#a227beae6749182b04ae18728c1aecd26" title="This filter callback is executed before the exact intersection test if PxQueryFlag::ePREFILTER flag w...">PxQueryFilterCallback.preFilter</a> <a class="el" href="classPxQueryFilterCallback.html#aa93cf87c4ec4548afc8cc5476c719781" title="This filter callback is executed if the exact intersection test returned true and PxQueryFlag::ePOSTF...">PxQueryFilterCallback.postFilter</a> <a class="el" href="classPxScene.html#a7d7dcd877cee092f8b57c67d79982b50" title="Performs a raycast against objects in the scene, returns results in a PxRaycastBuffer object or via a...">PxScene.raycast</a> <a class="el" href="classPxScene.html#a9b07b2a98e64105a06e97ffaeba2a63d" title="Performs a sweep test against objects in the scene, returns results in a PxSweepBuffer object or via ...">PxScene.sweep</a> <a class="el" href="classPxScene.html#a31d09c0e967f9806a1f0d5df78dfc996" title="Performs an overlap test of a given geometry against objects in the scene, returns results in a PxOve...">PxScene.overlap</a> </dd></dl>
</div><h2 class="groupheader">Member Enumeration Documentation</h2>
<a id="acab1ef408184995d169330ed689b79e3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#acab1ef408184995d169330ed689b79e3">&#9670;&nbsp;</a></span>Enum</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">enum <a class="el" href="structPxQueryHitType.html#acab1ef408184995d169330ed689b79e3">PxQueryHitType::Enum</a></td>
        </tr>
      </table>
</div><div class="memdoc">
<table class="fieldtable">
<tr><th colspan="2">Enumerator</th></tr><tr><td class="fieldname"><a id="acab1ef408184995d169330ed689b79e3a7e26b51ca324ac45d44d4b70203a2996"></a>eNONE&#160;</td><td class="fielddoc"><p>the query should ignore this shape </p>
</td></tr>
<tr><td class="fieldname"><a id="acab1ef408184995d169330ed689b79e3aac7ebce08c20ff88ea4328035daa2498"></a>eTOUCH&#160;</td><td class="fielddoc"><p>a hit on the shape touches the intersection geometry of the query but does not block it </p>
</td></tr>
<tr><td class="fieldname"><a id="acab1ef408184995d169330ed689b79e3a60dc59a348d85c101747ed45d9b20750"></a>eBLOCK&#160;</td><td class="fielddoc"><p>a hit on the shape blocks the query (does not block overlap queries) </p>
</td></tr>
</table>

</div>
</div>
<hr/>The documentation for this struct was generated from the following file:<ul>
<li><a class="el" href="PxQueryFiltering_8h_source.html">PxQueryFiltering.h</a></li>
</ul>
</div><!-- contents -->
</div><!-- doc-content -->
<!-- HTML footer for doxygen 1.8.14-->
<!-- start footer part -->
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
  <ul>
    <li class="navelem"><a class="el" href="structPxQueryHitType.html">PxQueryHitType</a></li>
    <li class="footer">Copyright &copy; 2008-2021 NVIDIA Corporation, 2788 San Tomas Expressway, Santa Clara, CA 95051 U.S.A. All rights reserved. <a href="http://www.nvidia.com ">www.nvidia.com</a></li>
  </ul>
</div>
</body>
</html>
